judicial proceeding

"judicial proceeding" means any proceeding in the course of which evidence is or may be legally taken;
ACT 593 - CRIMINAL PROCEDURE CODE (REVISED 1999)
2. Interpretation.